package db.migration;

import net.jiastudy.core.base.BaseMigration;

public class V1_0_11__modify_task_attchment extends BaseMigration {
    @Override
    public void migrate() throws Exception {
        if (!isFieldExist("target_task", "attachment_id")) {
            jdbcTemplate.update("ALTER TABLE target_task ADD `attachment_id` bigint UNSIGNED DEFAULT NULL COMMENT 'attachment_Id';");
        }
    }
}
